package com.hyt.it.ogt.kq.service.gov.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统级行政区划表
 * </p>
 *
 * @author huangyh
 * @since 2021-04-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mb_sys_area")
@ApiModel(value="KwMbArea对象", description="系统级行政区划表")
public class SysArea extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域id")
    private String areaId;

    @ApiModelProperty(value = "父级id")
    private String parentId;

    @ApiModelProperty(value = "所有父级id")
    private String parentIds;

    @ApiModelProperty(value = "地区名")
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "级别")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remarks;

}
